﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GiftShow.aspx.cs" Inherits="JDPresentShow.Pages.GiftShow" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../Style/Css/Css.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="../Scripts/jquery.js"></script>

    <script type="text/javascript" src="../Scripts/common.js"></script>

    <script type="text/javascript" src="../DatePicker/WdatePicker.js"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="divMain">
        <table cellspacing="0" cellpadding="0" border="0" class="MainTable" width="100%"
            height="100%" style="">
            <tr>
                <td width="1">
                </td>
                <td id="main" valign="top">
                    <div id="sideBar">
                        <table cellspacing="0" cellpadding="0" border="0" class="" width="100%">
                            <tr>
                                <td class="TitleBar" colspan="3">
                                    <table cellspacing="0" cellpadding="0" border="0" width="100%">
                                        <tr>
                                            <td class="MainTitle">
                                                公务接待
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr class="ToolBar">
                                <td colspan="3">
                                    <table>
                                        <tr valign="middle">
                                            <td>
                                                &nbsp;&nbsp;日期：
                                            </td>
                                            <td>
                                                <asp:TextBox ID="tbStart" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" runat="server"
                                                    CssClass="WSCL_Input"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="tbEnd" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" runat="server"
                                                    CssClass="WSCL_Input"></asp:TextBox>
                                            </td>
                                            <td>
                                                &nbsp;&nbsp; &nbsp;&nbsp;科室：
                                            </td>
                                            <td>
                                                <asp:TextBox ID="tbkeshi" runat="server" CssClass="WSCL_Input"></asp:TextBox>
                                            </td>
                                            <td class="ToolMenu">
                                                <div class="Normal" oldclass="Normal" style="float: left; width: 70px" onmouseover="OverChangeClass(this);"
                                                    onmouseout="ReturnClass(this)">
                                                    <asp:LinkButton runat="server" ID="btnSearch" OnClick="btnSearch_Click"><span>
                                                        <img src="../Images/Icon-Search.png" alt="查询" /></span><span>查询</span></asp:LinkButton>
                                                </div>
                                            </td>
                                            <td class="ToolMenu">
                                                <div class="Normal" oldclass="Normal" style="float: left; width: 70px" onmouseover="OverChangeClass(this);"
                                                    onmouseout="ReturnClass(this)">
                                                    <asp:LinkButton runat="server" ID="btnExport" OnClick="btnExport_Click"><span>
                                                        <img src="../Images/feedback.gif" alt="导出" /></span><span>导出</span></asp:LinkButton>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="3">
                                    <table class="MainInfolist" border="1" cellspacing="0" cellpadding="0" align="center"
                                        width="100%">
                                        <tr class="PageGridHeader">
                                            <td width="40" align="center">
                                                序号
                                            </td>
                                            <td align="center" width="180">
                                                申请科室
                                            </td>
                                            <td align="center" width="110">
                                                申请时间
                                            </td>
                                            <td align="center" width="100">
                                                申 请 人
                                            </td>
                                            <td align="left" style="text-align: left">
                                                &nbsp;&nbsp;申请标题
                                            </td>
                                            <td align="center" width="120">
                                                礼品名称
                                            </td>
                                            <td align="center" width="120">
                                                礼品价格
                                            </td>
                                            <td align="center" width="90">
                                                礼品数量
                                            </td>
                                            <td align="center" width="110">
                                                礼品总价
                                            </td>
                                            <td align="center" width="110">
                                                备注
                                            </td>
                                             <td align="center" width="110">
                                                备注2
                                            </td>
                                        </tr>
                                        <asp:Repeater runat="server" ID="rptInfo">
                                            <ItemTemplate>
                                                <tr>
                                                    <td width="40" align="center">
                                                        <%#Container.ItemIndex+1%>
                                                    </td>
                                                    <td align="center">
                                                        <%#Eval("ApplierDepartment") %>
                                                    </td>
                                                    <td align="center">
                                                        <%# (DateTime.Parse(Eval("applytime").ToString())).ToString("yyyy-MM-dd")%>
                                                    </td>
                                                    <td align="center">
                                                        <%#Eval("ApplierDsName")%>
                                                    </td>
                                                    <td align="left" style="text-align: left">
                                                        &nbsp;&nbsp;<%#Eval("ApplyTitle")%>
                                                    </td>
                                                    <td align="center">
                                                        <%#Eval("GiftName")%>
                                                    </td>
                                                    <td align="center">
                                                        <%#Eval("GiftPrice")%>
                                                    </td>
                                                    <td align="center">
                                                        <%#Eval("GiftCount")%>
                                                    </td>
                                                    <td align="center">
                                                        <%#Eval("GiftTotal")%>
                                                    </td>
                                                    <td align="center">
                                                        <%#Eval("Remark")%>
                                                    </td>
                                                     <td align="center">
                                                        <%#Eval("Remark2")%>
                                                    </td>
                                                </tr>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
